﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="ChooseTeacherRealName.aspx.cs"
    Inherits="LabMS.Web.User.ChooseTeacherRealName" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>全院人员数据</title>
    <base target="_self" />
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->

    <script type="text/javascript">
    function DbClickEvent(a,b,c)
    {
          var ret = new Array(3); 
          ret[0] = a; 
          ret[1] = b; 
          ret[2]= c;
          window.returnValue = ret; 
          window.close();
          return false; 
    } 
    </script>

</head>
<body class="mainBody">
    <form id="uiForm" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        全院人员数据列表
                    </label>
                </div>
            </div>
        </div>
        <div class="main">
            <table border="0" cellpadding="4" cellspacing="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            人员编号：</label></td>
                    <td>
                        <asp:TextBox ID="tbTcode" runat="server"></asp:TextBox></td>
                    <td>
                        <label class="itemTitle">
                            人员姓名：</label></td>
                    <td>
                        <asp:TextBox ID="tbTname" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            技术职称：</label></td>
                    <td>
                        <asp:TextBox ID="tbTP" runat="server"></asp:TextBox></td>
                    <td>
                        <asp:Button ID="btnsercher" runat="server" CssClass="button" Text="搜索" OnClick="btnsercher_Click" />
                        <asp:Button ID="btnreset" runat="server" Text="重置" CssClass="button" OnClick="btnreset_Click" />
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
        <div class="main">
            <asp:GridView ID="gvT" runat="server" DataKeyNames="ID" AllowPaging="true" AutoGenerateColumns="false"
                CssClass="infoTable" Width="100%" OnPageIndexChanging="gvT_PageIndexChanging"
                OnRowDataBound="gvT_RowDataBound">
                <Columns>
                    <asp:BoundField DataField="Staff_Code" HeaderText="人员编号" />
                    <asp:BoundField DataField="Staff_Name" HeaderText="人员名称" />
                    <asp:BoundField DataField="Staff_Title" HeaderText="技术职称" />
                    <asp:BoundField DataField="ID" ItemStyle-CssClass="none" HeaderStyle-CssClass="none"
                        ShowHeader="false" />
                </Columns>
                <EmptyDataTemplate>
                    暂时没有数据
                </EmptyDataTemplate>
                <HeaderStyle CssClass="header" />
                <RowStyle HorizontalAlign="Center" />
                <PagerSettings FirstPageText="首页" LastPageText="最后页" NextPageText="后一页" PreviousPageText="前一页"
                    Mode="NextPreviousFirstLast" />
            </asp:GridView>
        </div>
    </form>
</body>
</html>

<script type="text/javascript" src="../../js/jQuery/jquery-1.3.1.js"></script>

<script type="text/javascript">
        $(function(){
            /* 修改样式 */
            $("#gvT > tbody > tr:even").not(":first").addClass("even");
            $("#gvT > tbody > tr").not(":first")
                .hover(
                    function(){
                        $(this).addClass("hover");
                    },
                    function(){
                        $(this).removeClass("hover");
                });
                });
</script>

